<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstVideo Ancillary: GStreamer Base Plugins 1.0 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
<link rel="up" href="gstreamer-video.html" title="Video Library">
<link rel="prev" href="GstNavigation.html" title="GstNavigation">
<link rel="next" href="gl.html" title="OpenGL Integration Library">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gst-plugins-base-libs-GstVideo-Ancillary.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GstNavigation.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gl.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gst-plugins-base-libs-GstVideo-Ancillary"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstVideo-Ancillary.top_of_page"></a>GstVideo Ancillary</span></h2>
<p>GstVideo Ancillary — Utilities for Ancillary data, VBI and Closed Caption</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GST-VIDEO-ANCILLARY-DID16:CAPS" title="GST_VIDEO_ANCILLARY_DID16()">GST_VIDEO_ANCILLARY_DID16</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="returnvalue">GstVideoVBIParser</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-new" title="gst_video_vbi_parser_new ()">gst_video_vbi_parser_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-free" title="gst_video_vbi_parser_free ()">gst_video_vbi_parser_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-add-line" title="gst_video_vbi_parser_add_line ()">gst_video_vbi_parser_add_line</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParserResult" title="enum GstVideoVBIParserResult"><span class="returnvalue">GstVideoVBIParserResult</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-get-ancillary" title="gst_video_vbi_parser_get_ancillary ()">gst_video_vbi_parser_get_ancillary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="returnvalue">GstVideoVBIParser</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-copy" title="gst_video_vbi_parser_copy ()">gst_video_vbi_parser_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="returnvalue">GstVideoVBIEncoder</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-encoder-new" title="gst_video_vbi_encoder_new ()">gst_video_vbi_encoder_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-encoder-free" title="gst_video_vbi_encoder_free ()">gst_video_vbi_encoder_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-encoder-add-ancillary" title="gst_video_vbi_encoder_add_ancillary ()">gst_video_vbi_encoder_add_ancillary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-encoder-write-line" title="gst_video_vbi_encoder_write_line ()">gst_video_vbi_encoder_write_line</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="returnvalue">GstVideoVBIEncoder</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-encoder-copy" title="gst_video_vbi_encoder_copy ()">gst_video_vbi_encoder_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-buffer-get-video-caption-meta" title="gst_buffer_get_video_caption_meta()">gst_buffer_get_video_caption_meta</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="returnvalue">GstVideoCaptionMeta</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-buffer-add-video-caption-meta" title="gst_buffer_add_video_caption_meta ()">gst_buffer_add_video_caption_meta</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="returnvalue">GstVideoCaptionType</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-caption-type-from-caps" title="gst_video_caption_type_from_caps ()">gst_video_caption_type_from_caps</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-caption-type-to-caps" title="gst_video_caption_type_to_caps ()">gst_video_caption_type_to_caps</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillary" title="struct GstVideoAncillary">GstVideoAncillary</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillaryDID" title="enum GstVideoAncillaryDID">GstVideoAncillaryDID</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillaryDID16" title="enum GstVideoAncillaryDID16">GstVideoAncillaryDID16</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser">GstVideoVBIParser</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParserResult" title="enum GstVideoVBIParserResult">GstVideoVBIParserResult</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder">GstVideoVBIEncoder</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType">GstVideoCaptionType</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta">GstVideoCaptionMeta</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gst/video/video.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.description"></a><h2>Description</h2>
<p>A collection of objects and methods to assist with handling Ancillary Data
present in Vertical Blanking Interval as well as Closed Caption.</p>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="GST-VIDEO-ANCILLARY-DID16:CAPS"></a><h3>GST_VIDEO_ANCILLARY_DID16()</h3>
<pre class="programlisting">#define GST_VIDEO_ANCILLARY_DID16(anc) ((guint16)((anc)-&gt;DID) &lt;&lt; 8 | (guint16)((anc)-&gt;SDID_block_number))
</pre>
<p>Returns the <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillaryDID16" title="enum GstVideoAncillaryDID16"><span class="type">GstVideoAncillaryDID16</span></a> of the ancillary data.</p>
<div class="refsect3">
<a name="GST-VIDEO-ANCILLARY-DID16.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>anc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillary" title="struct GstVideoAncillary"><span class="type">GstVideoAncillary</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="GST-VIDEO-ANCILLARY-DID16.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillaryDID16" title="enum GstVideoAncillaryDID16"><span class="type">GstVideoAncillaryDID16</span></a> identifier</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-parser-new"></a><h3>gst_video_vbi_parser_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="returnvalue">GstVideoVBIParser</span></a> *
gst_video_vbi_parser_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> pixel_width</code></em>);</pre>
<p>Create a new <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> for the specified <em class="parameter"><code>format</code></em>
 and <em class="parameter"><code>pixel_width</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-vbi-parser-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pixel_width</p></td>
<td class="parameter_description"><p>The width in pixel to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-vbi-parser-new.returns"></a><h4>Returns</h4>
<p> The new <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <em class="parameter"><code>format</code></em>
and/or <em class="parameter"><code>pixel_width</code></em>
is not supported.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-parser-free"></a><h3>gst_video_vbi_parser_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_vbi_parser_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> *parser</code></em>);</pre>
<p>Frees the <em class="parameter"><code>parser</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-vbi-parser-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>parser</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-parser-add-line"></a><h3>gst_video_vbi_parser_add_line ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_vbi_parser_add_line (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> *parser</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>);</pre>
<p>Provide a new line of data to the <em class="parameter"><code>parser</code></em>
. Call <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-get-ancillary" title="gst_video_vbi_parser_get_ancillary ()"><code class="function">gst_video_vbi_parser_get_ancillary()</code></a>
to get the Ancillary data that might be present on that line.</p>
<div class="refsect3">
<a name="gst-video-vbi-parser-add-line.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>parser</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>The line of data to parse. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-parser-get-ancillary"></a><h3>gst_video_vbi_parser_get_ancillary ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParserResult" title="enum GstVideoVBIParserResult"><span class="returnvalue">GstVideoVBIParserResult</span></a>
gst_video_vbi_parser_get_ancillary (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> *parser</code></em>,
                                    <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillary" title="struct GstVideoAncillary"><span class="type">GstVideoAncillary</span></a> *anc</code></em>);</pre>
<p>Parse the line provided previously by <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#gst-video-vbi-parser-add-line" title="gst_video_vbi_parser_add_line ()"><code class="function">gst_video_vbi_parser_add_line()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-vbi-parser-get-ancillary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>parser</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>anc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillary" title="struct GstVideoAncillary"><span class="type">GstVideoAncillary</span></a> to start the eventual ancillary data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-vbi-parser-get-ancillary.returns"></a><h4>Returns</h4>
<p> <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GST-VIDEO-VBI-PARSER-RESULT-OK:CAPS"><code class="literal">GST_VIDEO_VBI_PARSER_RESULT_OK</code></a> if ancillary data was found and
<em class="parameter"><code>anc</code></em>
was filled. <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GST-VIDEO-VBI-PARSER-RESULT-DONE:CAPS"><code class="literal">GST_VIDEO_VBI_PARSER_RESULT_DONE</code></a> if there wasn't any
data.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-parser-copy"></a><h3>gst_video_vbi_parser_copy ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="returnvalue">GstVideoVBIParser</span></a> *
gst_video_vbi_parser_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a> *parser</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-encoder-new"></a><h3>gst_video_vbi_encoder_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="returnvalue">GstVideoVBIEncoder</span></a> *
gst_video_vbi_encoder_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> pixel_width</code></em>);</pre>
<p>Create a new <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> for the specified <em class="parameter"><code>format</code></em>
 and <em class="parameter"><code>pixel_width</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-vbi-encoder-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pixel_width</p></td>
<td class="parameter_description"><p>The width in pixel to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-vbi-encoder-new.returns"></a><h4>Returns</h4>
<p> The new <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the <em class="parameter"><code>format</code></em>
and/or <em class="parameter"><code>pixel_width</code></em>
is not supported.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-encoder-free"></a><h3>gst_video_vbi_encoder_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_vbi_encoder_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> *encoder</code></em>);</pre>
<p>Frees the <em class="parameter"><code>encoder</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-vbi-encoder-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>encoder</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-encoder-add-ancillary"></a><h3>gst_video_vbi_encoder_add_ancillary ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_vbi_encoder_add_ancillary (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> *encoder</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> composite</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> DID</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> SDID_block_number</code></em>,
                                     <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
                                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> data_count</code></em>);</pre>
<p>Stores Video Ancillary data, according to SMPTE-291M specification.</p>
<p>Note that the contents of the data are always read as 8bit data (i.e. do not contain
the parity check bits).</p>
<div class="refsect3">
<a name="gst-video-vbi-encoder-add-ancillary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>encoder</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>composite</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if composite ADF should be created, component otherwise</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>DID</p></td>
<td class="parameter_description"><p>The Data Identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>SDID_block_number</p></td>
<td class="parameter_description"><p>The Secondary Data Identifier (if type 2) or the Data
Block Number (if type 1)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data_count</p></td>
<td class="parameter_description"><p>The amount of data (in bytes) in <em class="parameter"><code>data</code></em>
(max 255 bytes)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>The user data content of the Ancillary packet.
Does not contain the ADF, DID, SDID nor CS. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_count]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-vbi-encoder-add-ancillary.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if enough space was left in the current line, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-encoder-write-line"></a><h3>gst_video_vbi_encoder_write_line ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_vbi_encoder_write_line (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> *encoder</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-vbi-encoder-copy"></a><h3>gst_video_vbi_encoder_copy ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="returnvalue">GstVideoVBIEncoder</span></a> *
gst_video_vbi_encoder_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIEncoder" title="GstVideoVBIEncoder"><span class="type">GstVideoVBIEncoder</span></a> *encoder</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-buffer-get-video-caption-meta"></a><h3>gst_buffer_get_video_caption_meta()</h3>
<pre class="programlisting">#define             gst_buffer_get_video_caption_meta(b)</pre>
<p>Gets the <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="type">GstVideoCaptionMeta</span></a> that might be present on <em class="parameter"><code>b</code></em>
.</p>
<div class="refsect3">
<a name="gst-buffer-get-video-caption-meta.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>b</p></td>
<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-buffer-get-video-caption-meta.returns"></a><h4>Returns</h4>
<p> The first <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="type">GstVideoCaptionMeta</span></a> present on <em class="parameter"><code>b</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
no <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="type">GstVideoCaptionMeta</span></a> are present</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-buffer-add-video-caption-meta"></a><h3>gst_buffer_add_video_caption_meta ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="returnvalue">GstVideoCaptionMeta</span></a> *
gst_buffer_add_video_caption_meta (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *buffer</code></em>,
                                   <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="type">GstVideoCaptionType</span></a> caption_type</code></em>,
                                   <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *data</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> size</code></em>);</pre>
<p>Attaches <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="type">GstVideoCaptionMeta</span></a> metadata to <em class="parameter"><code>buffer</code></em>
 with the given
parameters.</p>
<div class="refsect3">
<a name="gst-buffer-add-video-caption-meta.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>buffer</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>caption_type</p></td>
<td class="parameter_description"><p>The type of Closed Caption to add</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>The Closed Caption data. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>The size of <em class="parameter"><code>data</code></em>
in bytes</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-buffer-add-video-caption-meta.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionMeta" title="GstVideoCaptionMeta"><span class="type">GstVideoCaptionMeta</span></a> on <em class="parameter"><code>buffer</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-caption-type-from-caps"></a><h3>gst_video_caption_type_from_caps ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="returnvalue">GstVideoCaptionType</span></a>
gst_video_caption_type_from_caps (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
<p>Parses fixed Closed Caption <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> and returns the corresponding caption
type, or <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GST-VIDEO-CAPTION-TYPE-UNKNOWN:CAPS"><code class="literal">GST_VIDEO_CAPTION_TYPE_UNKNOWN</code></a>.</p>
<div class="refsect3">
<a name="gst-video-caption-type-from-caps.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>caps</p></td>
<td class="parameter_description"><p>Fixed <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to parse</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-caption-type-from-caps.returns"></a><h4>Returns</h4>
<p> <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="type">GstVideoCaptionType</span></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-caption-type-to-caps"></a><h3>gst_video_caption_type_to_caps ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
gst_video_caption_type_to_caps (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="type">GstVideoCaptionType</span></a> type</code></em>);</pre>
<p>Creates new caps corresponding to <em class="parameter"><code>type</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-caption-type-to-caps.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="type">GstVideoCaptionType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-caption-type-to-caps.returns"></a><h4>Returns</h4>
<p>new <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo-Ancillary.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstVideoAncillary"></a><h3>struct GstVideoAncillary</h3>
<pre class="programlisting">struct GstVideoAncillary {
  guint8 DID;
  guint8 SDID_block_number;
  guint8 data_count;
  guint8 data[256];
};
</pre>
<p>Video Ancillary data, according to SMPTE-291M specification.</p>
<p>Note that the contents of the data are always stored as 8bit data (i.e. do not contain
the parity check bits).</p>
<div class="refsect3">
<a name="GstVideoAncillary.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GstVideoAncillary.DID"></a>DID</code></em>;</p></td>
<td class="struct_member_description"><p>The Data Identifier</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GstVideoAncillary.SDID-block-number"></a>SDID_block_number</code></em>;</p></td>
<td class="struct_member_description"><p>The Secondary Data Identifier (if type 2) or the Data
Block Number (if type 1)</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GstVideoAncillary.data-count"></a>data_count</code></em>;</p></td>
<td class="struct_member_description"><p>The amount of data (in bytes) in <em class="parameter"><code>data</code></em>
(max 255 bytes)</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> <em class="structfield"><code><a name="GstVideoAncillary.data"></a>data</code></em>[256];</p></td>
<td class="struct_member_description"><p>The user data content of the Ancillary packet.
Does not contain the ADF, DID, SDID nor CS. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=data_count]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoAncillaryDID"></a><h3>enum GstVideoAncillaryDID</h3>
<div class="refsect3">
<a name="GstVideoAncillaryDID.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-UNDEFINED:CAPS"></a>GST_VIDEO_ANCILLARY_DID_UNDEFINED</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-DELETION:CAPS"></a>GST_VIDEO_ANCILLARY_DID_DELETION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-3G-AUDIO-DATA-FIRST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_FIRST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-3G-AUDIO-DATA-LAST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_LAST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-HDTV-AUDIO-DATA-FIRST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_FIRST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-HDTV-AUDIO-DATA-LAST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_LAST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-SDTV-AUDIO-DATA-1-FIRST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_FIRST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-SDTV-AUDIO-DATA-1-LAST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_LAST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-CAMERA-POSITION:CAPS"></a>GST_VIDEO_ANCILLARY_DID_CAMERA_POSITION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-ERROR-DETECTION:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_ERROR_DETECTION</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-SDTV-AUDIO-DATA-2-FIRST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_FIRST</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID-HANC-SDTV-AUDIO-DATA-2-LAST:CAPS"></a>GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_LAST</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoAncillaryDID16"></a><h3>enum GstVideoAncillaryDID16</h3>
<p>Some know types of Ancillary Data identifiers.</p>
<div class="refsect3">
<a name="GstVideoAncillaryDID16.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID16-S334-EIA-708:CAPS"></a>GST_VIDEO_ANCILLARY_DID16_S334_EIA_708</p></td>
<td class="enum_member_description">
<p>CEA 708 Ancillary data according to SMPTE 334</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID16-S334-EIA-608:CAPS"></a>GST_VIDEO_ANCILLARY_DID16_S334_EIA_608</p></td>
<td class="enum_member_description">
<p>CEA 608 Ancillary data according to SMPTE 334</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ANCILLARY-DID16-S2016-3-AFD-BAR:CAPS"></a>GST_VIDEO_ANCILLARY_DID16_S2016_3_AFD_BAR</p></td>
<td class="enum_member_description">
<p>AFD/Bar Ancillary data according to SMPTE 2016-3 (Since: 1.18)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoVBIParser"></a><h3>GstVideoVBIParser</h3>
<pre class="programlisting">typedef struct _GstVideoVBIParser GstVideoVBIParser;</pre>
<p>A parser for detecting and extracting <em class="parameter"><code>GstVideoAncillary</code></em>
 data from
Vertical Blanking Interval lines of component signals.</p>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoVBIParserResult"></a><h3>enum GstVideoVBIParserResult</h3>
<p>Return values for <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoVBIParser" title="GstVideoVBIParser"><span class="type">GstVideoVBIParser</span></a></p>
<div class="refsect3">
<a name="GstVideoVBIParserResult.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-VBI-PARSER-RESULT-DONE:CAPS"></a>GST_VIDEO_VBI_PARSER_RESULT_DONE</p></td>
<td class="enum_member_description">
<p>No line were provided, or no more Ancillary data was found.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-VBI-PARSER-RESULT-OK:CAPS"></a>GST_VIDEO_VBI_PARSER_RESULT_OK</p></td>
<td class="enum_member_description">
<p>A <a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoAncillary" title="struct GstVideoAncillary"><span class="type">GstVideoAncillary</span></a> was found.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-VBI-PARSER-RESULT-ERROR:CAPS"></a>GST_VIDEO_VBI_PARSER_RESULT_ERROR</p></td>
<td class="enum_member_description">
<p>An error occured</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoVBIEncoder"></a><h3>GstVideoVBIEncoder</h3>
<pre class="programlisting">typedef struct _GstVideoVBIEncoder GstVideoVBIEncoder;</pre>
<p>An encoder for writing ancillary data to the
Vertical Blanking Interval lines of component signals.</p>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoCaptionType"></a><h3>enum GstVideoCaptionType</h3>
<p>The various known types of Closed Caption (CC).</p>
<div class="refsect3">
<a name="GstVideoCaptionType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CAPTION-TYPE-UNKNOWN:CAPS"></a>GST_VIDEO_CAPTION_TYPE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>Unknown type of CC</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CAPTION-TYPE-CEA608-RAW:CAPS"></a>GST_VIDEO_CAPTION_TYPE_CEA608_RAW</p></td>
<td class="enum_member_description">
<p>CEA-608 as byte pairs. Note that
     this format is not recommended since is does not specify to
     which field the caption comes from and therefore assumes
     it comes from the first field (and that there is no information
     on the second field). Use <em class="parameter"><code>GST_VIDEO_CAPTION_TYPE_CEA708_RAW</code></em>

     if you wish to store CEA-608 from two fields and prefix each byte pair
     with 0xFC for the first field and 0xFD for the second field.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CAPTION-TYPE-CEA608-S334-1A:CAPS"></a>GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A</p></td>
<td class="enum_member_description">
<p>CEA-608 as byte triplets as defined
     in SMPTE S334-1 Annex A. The second and third byte of the byte triplet
     is the raw CEA608 data, the first byte is a bitfield: The top/7th bit is
     0 for the second field, 1 for the first field, bit 6 and 5 are 0 and
     bits 4 to 0 are a 5 bit unsigned integer that represents the line
     offset relative to the base-line of the original image format (line 9
     for 525-line field 1, line 272 for 525-line field 2, line 5 for
     625-line field 1 and line 318 for 625-line field 2).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CAPTION-TYPE-CEA708-RAW:CAPS"></a>GST_VIDEO_CAPTION_TYPE_CEA708_RAW</p></td>
<td class="enum_member_description">
<p>CEA-708 as cc_data byte triplets. They
     can also contain 608-in-708 and the first byte of each triplet has to
     be inspected for detecting the type.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CAPTION-TYPE-CEA708-CDP:CAPS"></a>GST_VIDEO_CAPTION_TYPE_CEA708_CDP</p></td>
<td class="enum_member_description">
<p>CEA-708 (and optionally CEA-608) in
     a CDP (Caption Distribution Packet) defined by SMPTE S-334-2.
     Contains the whole CDP (starting with 0x9669).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoCaptionMeta"></a><h3>GstVideoCaptionMeta</h3>
<pre class="programlisting">typedef struct {
  GstMeta meta;

  GstVideoCaptionType caption_type;
  guint8 *data;
  gsize size;
} GstVideoCaptionMeta;
</pre>
<p>Extra buffer metadata providing Closed Caption.</p>
<div class="refsect3">
<a name="GstVideoCaptionMeta.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstMeta.html#GstMeta"><span class="type">GstMeta</span></a> <em class="structfield"><code><a name="GstVideoCaptionMeta.meta"></a>meta</code></em>;</p></td>
<td class="struct_member_description"><p>parent <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstMeta.html#GstMeta"><span class="type">GstMeta</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo-Ancillary.html#GstVideoCaptionType" title="enum GstVideoCaptionType"><span class="type">GstVideoCaptionType</span></a> <em class="structfield"><code><a name="GstVideoCaptionMeta.caption-type"></a>caption_type</code></em>;</p></td>
<td class="struct_member_description"><p>The type of Closed Caption contained in the meta.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint8"><span class="type">guint8</span></a> *<em class="structfield"><code><a name="GstVideoCaptionMeta.data"></a>data</code></em>;</p></td>
<td class="struct_member_description"><p>The Closed Caption data. </p></td>
<td class="struct_member_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=size]</span></td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstVideoCaptionMeta.size"></a>size</code></em>;</p></td>
<td class="struct_member_description"><p>The size in bytes of <em class="parameter"><code>data</code></em>
</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>